<ul class="paginator">
{% if has_previous %}
    <li class="prev"><a href="?page={{ previous }}">&laquo;</a></li>
{% endif %}	
{% if has_next %}
	<li class="next"><a href="?page={{ next }}">&raquo;</a></li>
{% endif %}	
</ul>